package com.bogewang.s2sh.service;

import com.bogewang.s2sh.model.User;

import java.util.List;

public interface IUserService {

    public void saveUser(User user);

    public void updateUser(User user);

    public User findUserById(Integer id);

    public void deleteUser(User user);

    public List<User> findAllList();

    public User findUserByNameAndPassword(String username, String password);
}
